//
//  OrderDishesViewController.h
//  OrderSeat
//
//  Created by 王威 on 14-1-27.
//  Copyright (c) 2014年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

@class OrderDishesDataSource;
@interface OrderDishesViewController : BaseViewController
@property (weak, nonatomic) IBOutlet UITableView *dishTable;

@property (strong, nonatomic) OrderDishesDataSource *dataSource;
@property (copy,   nonatomic) NSString *dishId;
@property (assign, nonatomic) OrderType orderType;
@property (assign, nonatomic) DishType dishType;

- (id)initWithDishId:(NSString *)dishId;

@end

@interface OrderDishesDataSource : BaseDataSource<UITableViewDataSource,UITableViewDelegate>

@property (strong, nonatomic) OrderDishesViewController *Controller;
@property (strong, nonatomic) NSMutableArray *dishList;
@property (strong, nonatomic) NSMutableArray *updateDishList;
@property (strong, nonatomic) NSMutableArray *catList;
@property (strong, nonatomic) NSDictionary *data;
@property (copy,   nonatomic) NSString *shopId;
@property (copy,   nonatomic) NSString *catId;

- (void)fetchDishes;
- (void)fetchUpdateDish;

@end
